#include "StdAfx.h"
#include "Material.h"
#include "Vector2.h"

const Material Material::Air(ColorValue(0, 0, 0), 1, 0.2, 1, 10, NULL);
const Material Material::Wall(ColorValue(0.5, 0.5, 0.5), 1, 0.0, 1, 10, NULL);

Material::Material(void)
{
}

Material::Material(ColorValue& color, float alpha, float reflectivity, float refractiveIndex, 
                   float mass, Texture* texture)
	: m_color(color), _alpha(alpha), _reflectivity(reflectivity), _refractiveIndex(refractiveIndex), 
      _texture(texture) //, m_mass(mass)
{

}


Material::~Material(void)
{
}

ColorValue Material::GetColor(Vector2& textureCoordinate)
{
	// TODO texture lookup
	return m_color;
}


